export const json = {
	title: 'Quest',
	logoWidth: 'auto',
	logoHeight: '24',
	logoPosition: 'right',
	focusFirstQuestionAutomatic: true,
	pages: [
		{
			name: 'Basic',
			elements: [
				{
					type: 'text',
					name: 'old',
					indent: 1,
					title: 'How old are you now?',
					titleLocation: 'top',
					isRequired: true,
					errorLocation: 'bottom',
					inputType: 'number',
					autocomplete: 'name',
					min: 1,
					max: 150,
					step: 1,
				},
				{
					type: 'radiogroup',
					name: 'gender',
					indent: 1,
					title: 'What is your biological gender?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Male',
						},
						{
							value: '0',
							text: 'Female',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'pure_white',
					indent: 1,
					title: 'Is your race pure white?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '0',
							text: 'Yes',
						},
						{
							value: '1',
							text: 'No',
						},
					],
				},
			],
		},
		{
			name: 'Ses',
			elements: [
				{
					type: 'radiogroup',
					name: 'employment_status',
					indent: 1,
					title: 'What is your current employment status?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '0',
							text: 'In paid employment or self-employed or retired',
						},
						{
							value: '1',
							text: 'Else',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'total_income',
					indent: 1,
					title:
						'What is the average total income before tax received by your Household?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'less than £18,000 (Annual)/ less than £1,500 (Monthly)/ less than £346 (Weekly)',
						},
						{
							value: '2',
							text: '£18,000 to £29,999(Annual)/ £1,500 to £2,499(Monthly)/ £346 to £576(Weekly)',
						},
						{
							value: '3',
							text: '£30,000 to £51,999(Annual)/ £2,500 to £4,333(Monthly)/ £577 to £999(Weekly)',
						},
						{
							value: '4',
							text: '£52,000 to £100,000(Annual)/ £4,334 to £8,333(Monthly)/ £1000 to £1,923(Weekly)',
						},
						{
							value: '5',
							text: 'greater than £100,000(Annual)/ greater than £8,333(Monthly)/ greater than £1,923(Weekly)',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'have_car',
					indent: 1,
					title:
						'Do you have cars or vans owned, or available for use?   \n(Please include company vehicles if available for private use)',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '0',
							text: 'Yes',
						},
						{
							value: '1',
							text: 'No',
						},
					],
				},
			],
		},
		{
			name: 'Envir',
			elements: [
				{
					type: 'text',
					name: 'caco3_concent',
					indent: 1,
					title: 'Domestic water calcium carbonate (CaCO3) concentration(mg/L)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
					step: 0.01,
				},
				{
					type: 'html',
					name: 'question1',
					minWidth: '30px',
					html: 'Reference Link：<a target="_blank" href="https://environment.data.gov.uk/water-quality/view/explore">https://environment.data.gov.uk/water-quality/view/explore</a>',
				},
			],
		},
		{
			name: 'Early',
			elements: [
				{
					type: 'radiogroup',
					name: 'smoke',
					indent: 1,
					title:
						'Did your mother smoke regularly around the time when you were born?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
			],
		},
		{
			name: 'Life',
			elements: [
				{
					type: 'radiogroup',
					name: 'tobacco',
					indent: 1,
					title: 'Do you smoke tobacco now?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes, on most or all days',
						},
						{
							value: '0',
							text: 'No',
						},
						{
							value: '2',
							text: 'Only occasionally',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'a1',
					indent: 1,
					title: 'About how often do you drink alcohol?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1/7',
							text: 'per Week',
						},
						{
							value: '1/30',
							text: 'per Month',
						},
						{
							value: '1/365',
							text: 'per Year',
						},
					],
				},
				{
					type: 'text',
					name: 'a2',
					indent: 1,
					title:
						'In an specific drinking DAY, how many glasses of RED wine would you drink ?\n(There are six glasses in an average bottle)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a3',
					indent: 1,
					title:
						'In an specific drinking DAY, how many glasses of WHITE wine or champagne would you drink? \n(There are six glasses in an average bottle)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a4',
					indent: 1,
					title:
						'In an specific drinking DAY, how many pints of beer or cider would you drink? \n(Include bitter, lager, stout, ale, Guinness)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a5',
					indent: 1,
					title:
						'In an specific drinking DAY, how many measures of spirits or liqueurs would you drink ?\n(there are 25 standard measures in a normal sized bottle; spirits include drinks such as whisky, gin, rum, vodka, brandy)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a6',
					indent: 1,
					title:
						'In an specific drinking DAY, how many glasses of fortified wine would you drink? \n(There are 12 glasses in an average bottle) (Fortified wines include drinks such as sherry, port, vermouth)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a7',
					indent: 1,
					title:
						'In an specific drinking DAY, how many glasses of other alcoholic drinks (such as alcopops) would you drink?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b1',
					indent: 1,
					title:
						'In a typical WEEK, on how many days did you walk for at least 10 minutes at a time? \n(Include walking that you do at work, travelling to and from work, and for sport or leisure)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b2',
					indent: 1,
					title:
						'How many minutes did you usually spend walking on a typical DAY?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b3',
					indent: 1,
					title:
						'In a typical WEEK, on how many days did you do 10 minutes or more of moderate physical activities like carrying light loads, cycling at normal pace?\n(Do not include walking)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b4',
					indent: 1,
					title:
						'How many minutes did you usually spend doing moderate activities on a typical DAY?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b5',
					indent: 1,
					title:
						'In a typical WEEK, how many days did you do 10 minutes or more of vigorous physical activity? \n(These are activities that make you sweat or breathe hard such as fast cycling, aerobics, heavy lifting)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b6',
					indent: 1,
					title:
						'How many minutes did you usually spend doing vigorous activities on a typical DAY?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'radiogroup',
					name: 'glucosamine',
					indent: 1,
					title: 'Do you regularly take glucosamine?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'text',
					name: 'c1',
					indent: 1,
					title:
						"About how many pieces of FRESH fruit would you eat per DAY? \n(Count one apple, one banana, 10 grapes etc as one piece; put '0' if you do not eat any)",
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'c2',
					indent: 1,
					title:
						"About how many pieces of DRIED fruit would you eat per DAY? \n(Count one prune, one dried apricot, 10 raisins as one piece; put '0' if you do not eat any)",
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'd1',
					indent: 1,
					title: 'How many slices of bread do you eat each WEEK?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'd2',
					indent: 1,
					title: 'How many bowls of cereal do you eat a WEEK?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'radiogroup',
					name: 'eat_wheat',
					indent: 1,
					title: 'Do you never eat wheat?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '0',
							text: 'Yes',
						},
						{
							value: '1',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'eat_poultry',
					indent: 1,
					title:
						'How often do you eat chicken, turkey or other poultry? \n(Do not count processed meats)',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '0',
							text: 'Never',
						},
						{
							value: '1',
							text: 'Less than once a week',
						},
						{
							value: '2',
							text: 'Once a week',
						},
						{
							value: '3',
							text: '2-4 times a week',
						},
						{
							value: '4',
							text: '5-6 times a week',
						},
						{
							value: '5',
							text: 'Once or more daily',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'add_salt',
					indent: 1,
					title:
						'Do you add salt to your food?\n (Do not include salt used in cooking)',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Never/rarely',
						},
						{
							value: '2',
							text: 'Sometimes',
						},
						{
							value: '3',
							text: 'Usually',
						},
						{
							value: '4',
							text: 'Always',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'dietary_change',
					indent: 1,
					title: 'Do you have a major dietary change in past five years?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'sun_protection',
					indent: 1,
					title:
						'Do you wear sun protection (e.g. sunscreen lotion, hat) when you spend time outdoors in the summer?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Never/rarely',
						},
						{
							value: '2',
							text: 'Sometimes',
						},
						{
							value: '3',
							text: 'Most of the time',
						},
						{
							value: '4',
							text: 'Always/Do not go out in sunshine',
						},
					],
				},
				{
					type: 'text',
					name: 'hours_sleep',
					indent: 1,
					title:
						'About how many hours sleep do you get in every 24 hours? (please include naps)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'radiogroup',
					name: 'have_nap',
					indent: 1,
					title: 'Do you have a nap during the day?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Never/rarely',
						},
						{
							value: '2',
							text: 'Sometimes',
						},
						{
							value: '3',
							text: 'Usually',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'feel_tired',
					indent: 1,
					title:
						'Over the past two weeks, how often have you felt tired or had little energy?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Not at all',
						},
						{
							value: '2',
							text: 'Several days',
						},
						{
							value: '3',
							text: 'More than half the days',
						},
						{
							value: '4',
							text: 'Nearly every day',
						},
					],
				},
				{
					type: 'text',
					name: 'num_people',
					indent: 1,
					title:
						'Including yourself, how many people are living together in your household?\n (Include those who usually live in the house such as students living away from home during term, partners in the armed forces or professions such as pilots)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'radiogroup',
					name: 'friends_family',
					indent: 1,
					title:
						'How often do you visit friends or family or have them visit you?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Almost daily',
						},
						{
							value: '2',
							text: '2-4 times a week',
						},
						{
							value: '3',
							text: 'About once a week',
						},
						{
							value: '4',
							text: 'About once a month',
						},
						{
							value: '5',
							text: 'Once every few months',
						},
						{
							value: '6',
							text: 'Never or almost never',
						},
					],
				},
			],
		},
		{
			name: 'Physi',
			elements: [
				{
					type: 'text',
					name: 'heart_rate',
					indent: 1,
					title: "What's your resting heart rate?(beat per minute)",
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'hand_grip',
					indent: 1,
					title: 'How much is your hand grip strength?(kg)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'waist_circumference',
					indent: 1,
					title: 'How much is your waist circumference?(cm)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'arm_mass',
					indent: 1,
					title: 'How much is your arm fat mass?(kg)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'percent_mass',
					indent: 1,
					title: 'How much is your percentage of leg fat mass?(%)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'radiogroup',
					name: 'weight_changed',
					indent: 1,
					title: 'Compared with one year ago, has your weight changed?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '0',
							text: 'No - weigh about the same',
						},
						{
							value: '2',
							text: 'Yes - gained weight',
						},
						{
							value: '3',
							text: 'Yes - lost weight',
						},
					],
				},
			],
		},
		{
			name: 'Dise',
			elements: [
				{
					type: 'text',
					name: 'major_operation',
					indent: 1,
					title: 'How many major operations had you been through?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'radiogroup',
					name: 'receive_attendance',
					indent: 1,
					title: 'Do you receive attendance/disability/mobility allowance?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'denture',
					indent: 1,
					title: 'Do you have dentures?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'hypertension',
					indent: 1,
					title: 'Have you been diagnosed with hypertension?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'diagnosed_diabetes',
					indent: 1,
					title: 'Have you been diagnosed with diabetes?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'ckd',
					indent: 1,
					title: 'Have you been diagnosed with CKD?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'anemias',
					indent: 1,
					title: 'Have you been diagnosed with anemias?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'due_alcohol',
					indent: 1,
					title:
						'Have you been diagnosed with mental and behavioral disorders due to use of alcohol?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'flutter',
					indent: 1,
					title:
						'Have you been diagnosed with atrial fibrillation and flutter?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'heart_failure',
					indent: 1,
					title: 'Have you been diagnosed with heart failure?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'pneumonia',
					indent: 1,
					title: 'Have you been diagnosed with pneumonia?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'digestive_system',
					indent: 1,
					title:
						'Have you been diagnosed with malignant tumors of the digestive system?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'breast_cancer',
					indent: 1,
					title: 'Have you been diagnosed with breast cancer?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'myocardial_infarction',
					indent: 1,
					title: 'Have you been diagnosed with myocardial infarction?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'stroke',
					indent: 1,
					title: 'Have you been diagnosed with stroke?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'pulmonary_disease',
					indent: 1,
					title:
						'Have you been diagnosed with chronic obstructive pulmonary disease?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'wheeze_chest',
					indent: 1,
					title:
						'In the last year have you ever had wheeze or whistling in the chest?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
			],
		},
	],
	sendResultOnPageNext: true,
	showPageNumbers: true,
	questionTitleLocation: 'left',
	questionErrorLocation: 'bottom',
	showProgressBar: 'bottom',
	progressBarShowPageNumbers: true,
	progressBarInheritWidthFrom: 'survey',
	showTOC: true,
	tocLocation: 'right',
	allowCompleteSurveyAutomatic: false,
	checkErrorsMode: 'onValueChanged',
	textUpdateMode: 'onTyping',
	autoGrowComment: true,
	startSurveyText: 'Start',
	pagePrevText: 'Last ',
	pageNextText: 'Next',
	completeText: 'Submit',
	width: '100%',
} 